class AddViewsToThreads < ActiveRecord::Migration
  def self.up
    change_table :forum_threads do |t|
      t.integer :views, :null => false, :default => 0
    end

  end

  def self.down
    change_table :forum_threads do |t|
      t.remove :views
    end
  end
end
